var recode_suning = http.get("http://quan.suning.com/getSysTime.do");
  var  hour = recode_suning.body.json().sysTime1.substring(8,10);
while(hour<10){
    sleep(80);
    //循环判断时间
    recode_suning = http.get("http://quan.suning.com/getSysTime.do");
    hour = recode_suning.body.json().sysTime1.substring(8,10);
    }
click("确认支付");
while(!textContains("中国建设银行信用卡").findOne()){
    sleep(10);
    }
    click("中国建设银行");
    sleep(80);
while(!text("已减 ¥48.00").findOne()){
    sleep(10);
    }    
    click("确认支付");
    

while(!text("中国建设银行信用卡").findOne()){
    sleep(10);
    }   
click(916,2000);
sleep(80);
click(570,1780);
sleep(80);
click(540,1560);
sleep(80);
click(540,1560);
sleep(80);
click(916,2000);
sleep(80);
click(900,1560);

.EditText").findOne().setText("6221682814188285");
  //判断时间
  //苏宁时间API
var recode_suning = http.get("http://quan.suning.com/getSysTime.do");
var hour = recode_suning.body.json().sysTime1.substring(8,10);

while(hour<10){
    sleep(80);
    //循环判断时间
    recode_suning = http.get("http://quan.suning.com/getSysTime.do");
    hour = recode_suning.body.json().sysTime1.substring(8,10);
    }

  //提交
  className("android.widget.Button").findOne().click();
  break;
}else{
    sleep(400);
    back();
    }



    
    
    }
    
    ////////////
    
while(hour<10){
    sleep(80);
    //循环判断时间
    recode_suning = http.get("http://quan.suning.com/getSysTime.do");
    hour = recode_suning.body.json().sysTime1.substring(8,10);
    }

/*
付款 确认支付 以优惠48 建设银行 支付密码

